cmake_minimum_required(VERSION 3.0)

project(usetime1)

add_library(mytime1
    STATIC
    mytime1.h
    mytime1.cpp
)

set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall")

set(CMAKE_BUILD_TYPE Debug)

add_executable(usetime1 usetime1.cpp)

target_link_libraries(usetime1 mytime1)
